package com.t.bricks.bussiness.db.entity.belongingstype;

import io.swagger.annotations.ApiModelProperty;

import com.t.bricks.bussiness.db.entity.belongingstype.base.BelongingsTypeBase;

/**
 * 财务分类'BelongingsType'表扩展实体类
 * 注意:可根据需要创建不同的多个扩展实体类,而不是把所有的扩展属性都集中到一个类中
 * @author HuangXinBian
 */
public class BelongingsType extends BelongingsTypeBase {
	
	private static final long serialVersionUID = -1L;// 使用rmi时需修改

	/**
	 * 是否危险品(布尔值,1:是;2:否)
	 */
	@ApiModelProperty(value="是否危险品(布尔值,1:是;2:否)", example="")
	private String ssDangerText;

	/**
	 * 取 是否危险品(布尔值,1:是;2:否)
	 * @return sDangerText 是否危险品(布尔值,1:是;2:否)
	 */
	public String getssDangerText() {
		return this.ssDangerText;
	}

	/**
	 * 设置 是否危险品(布尔值,1:是;2:否)
	 * @param ssDangerText 是否危险品(布尔值,1:是;2:否)
	 */
	public void setssDangerText(String ssDangerText) {
		this.ssDangerText = ssDangerText;
	}

	/**
	 * 复制对象
	 * @param source 数据源
	 * @return BelongingsType
	 */
	public static BelongingsType copy(BelongingsType source) {
		if (null == source) {
			return null;
		}
		
		BelongingsType target = new BelongingsType();
		target.setsId(source.getsId());
		target.setsType(source.getsType());
		target.setsDetail(source.getsDetail());
		target.setisDanger(source.getisDanger());
		target.setsMemo(source.getsMemo());
		target.setsCreator(source.getsCreator());
		target.setdCreateDate(source.getdCreateDate());
		target.setsModifieder(source.getsModifieder());
		target.setdModifiedDate(source.getdModifiedDate());
		target.setiState(source.getiState());
		target.setiIndex(source.getiIndex());
		target.setiVersion(source.getiVersion());
		target.setssDangerText(source.getssDangerText());

		return target;
	}
	
	/**
	 * 克隆对象
	 * @return BelongingsType
	 */
	@Override
	public BelongingsType clone() {
		return copy(this);
	}
	
}
